extends Control

export (String) var label = "Parameter" setget set_label
export (int) var value = 0 setget set_value

func _ready():
	$HBoxContainer/Label.text = label
	$HBoxContainer/TextureProgress.value = value 

func set_label(s):
	label = s
	$HBoxContainer/Label.text = label
	
func set_value(v):
	value = v
	$HBoxContainer/TextureProgress.value = int(value) 
